import React, { Component } from "react";
import CustomBreadcrumb from "../../components/CustomBreadcrumb";
import UserForm from "./components/UserForm";

import "./CreateAdmin.scss";

export default class CreateAdmin extends Component {
  static displayName = "CreateAdmin";

  constructor(props) {
    super(props);
    this.state = {};
  }

  render() {
    const breadcrumb = [
      { text: "用户管理", link: "" },
      { text: "添加管理员", link: "#/user/create" }
    ];
    return (
      <div className="create-user-page">
        <CustomBreadcrumb dataSource={breadcrumb} />
        <UserForm />
      </div>
    );
  }
}
